package com.hainiugen.promotion.mapper;

import com.hainiugen.promotion.entities.Product;

import java.util.List;

/**
 * create by biji.zhao on 2021/6/1
 */
public interface ProductMapper {
    Product findById(Long id);

    List<Product> findAll();

    boolean addProduct(Product product);
}
